network-monitor
This command configures monitored network entities for the HA Network Monitor feature, whereby the device pings the entities and if a user-defined number of entities are offline, triggers an HA switchover.
Syntax
(config-network)# high-availability network-monitor <Index> (network-monitor-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
dest-address <IP Addresses> |
Defines the IP address of the destination to ping. You can configure multiple IP addresses, where each is separated by a comma or space. |
network-interface |
Assigns a local IP network interface (listed in the IP Interfaces table) from where the device sends the ping requests. |
ping-count |
Defines the number of consecutive failed pings to the monitored entity, before the device considers the entity as unavailable. |
ping-timeout |
Defines the timeout (in milliseconds) for which the device waits for a reply from the monitored entity for its sent ping request. |
Command Mode
Privileged User
Example
This example configures a monitored entity with three destinations, pings sent from IP interface "OAMP", ping timeout for a response is 1000 ms, and HA switchover triggered after three failed pings:
(config-network)# high-availability network-monitor 0 (network-monitor-0#) dest-address 10.4.4.69,10.4.5.60 (network-monitor-0#) network-interface OAMP (network-monitor-0#) ping-timeout 1000 (network-monitor-0#) ping-count 3